//
//  DateViewController.h
//  New
//
//  Created by dlios on 15-7-21.
//  Copyright (c) 2015年 yangTao. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "BaseButton.h"

//#import "calenderDetailViewController.h"

@protocol dataDelegate <NSObject>

-(void)bringButtonyear:(NSString *)year AndMouth:(NSString *)mouth andDate:(NSString *)date;




@end



//@protocol dataDelegate1 <NSObject>
//
//-(void)bringDate:(NSString *)date andDate1:(NSString *)date1;
//
//@end
//

@interface DateViewController : UIViewController<UIPickerViewDataSource,UIPickerViewDelegate>
@property(nonatomic,strong)UIPickerView *pickView;


@property(nonatomic,strong)NSString *string;

@property(nonatomic,strong)NSMutableArray *yearArray;
@property(nonatomic,strong)NSArray *monthArray;
@property(nonatomic,strong)NSMutableArray *DaysArray;

@property(nonatomic,assign)NSInteger selectedYearRow;
@property(nonatomic,assign)NSInteger selectedMonthRow;
@property(nonatomic,assign)NSInteger selectedDayRow;
@property(nonatomic,assign)BOOL firstTimeLoad;
@property(nonatomic,copy)NSString  *currentMonthString;

@property(nonatomic,copy)NSString *year;
@property(nonatomic,copy)NSString *mouth;
@property(nonatomic,copy)NSString *date;

@property(nonatomic,assign)id<dataDelegate>myDalegate;

//@property(nonatomic,assign)id<dataDelegate1>mydelegate;

@end
